package com.ruoyi.project.yf.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 股票通知消息对象 yf_stock_notice
 * 
 * @author 云峰
 * @date 2020-06-15
 */
public class YfStockNotice extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 自增ID */
    private Long id;

    /** 股票名称 */
    @Excel(name = "股票名称")
    private String name;

    /** 提醒人 */
    @Excel(name = "提醒人")
    private long toUid;

    /** 通知类型 */
    @Excel(name = "通知类型")
    private String noticeType;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setToUid(long toUid)
    {
        this.toUid = toUid;
    }

    public long getToUid()
    {
        return toUid;
    }
    public void setNoticeType(String noticeType) 
    {
        this.noticeType = noticeType;
    }

    public String getNoticeType() 
    {
        return noticeType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("remark", getRemark())
            .append("createTime", getCreateTime())
            .append("toUid", getToUid())
            .append("noticeType", getNoticeType())
            .toString();
    }
}
